package com.ywk.base.encoded;

import java.io.UnsupportedEncodingException;
import java.util.Arrays;
import java.util.UUID;

/**
 * @Author zbh
 * @Date 2023/5/10
 */
public class EncodedDemo {
    public static void main(String[] args) throws UnsupportedEncodingException {
        char x=65;
        System.out.println(x);

        System.out.println(Arrays.toString("ss".getBytes("UTF-8")));
        System.out.println(new String("ss".getBytes("UTF-8"), "UTF-8"));

        System.out.println(UUID.randomUUID().toString().replaceAll("-", ""));
    }
}
